package com.list88zhu.android.eventbus;

import java.util.ArrayList;
import java.util.List;

public class EventBusBuilder {

    private List<SubscriberInfoIndex> subscriberInfoIndexes;

    public EventBusBuilder addIndex(SubscriberInfoIndex index) {
        if (subscriberInfoIndexes == null) {
            subscriberInfoIndexes = new ArrayList<>();
        }
        subscriberInfoIndexes.add(index);
        return this;
    }
}
